'use strict';

stareal
    .controller("ActiveInstructionsController", function ($scope, $stateParams, $api, $sce, base64, $state, $alert,localStorageService,$lazyLoader) {
       if($stateParams.app==1){
           $scope.titleStatus=true;
       }
        //安卓 点击事件拦截  checked
        if($stateParams.checked==undefined||$stateParams.checked==null||$stateParams.checked==''){
            $scope.androidStatus=false;
        }else{
            $scope.androidStatus=true;
        }
        $scope.goToRechargePay=function(){ //去兑换
            if($scope.androidStatus){
                android.ClickToWebPay();
            }else {
                $state.go('my.currencyexchange', {}, true);
            }
        }
    })